const addNotice = require('./addNotice/index');
const checkNotice = require('./checkNotice/index');


exports.main = async (event, context) => {
  switch (event.type) {
    case 'addNotice':
      return await addNotice.main(event, context);
    case 'checkNotice':
      return await checkNotice.main(event, context);

  }
};
